<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<table class="list_table" width="80%">
<tr>
	<th>包材编号</th>
	<th>包材名称</th>
	<th>规格</th>
	<th>重量</th>
	<th>价格</th>
	<th>生产商</th>
	<th>操作</th>
</tr>
<?foreach ($material as $m):?>
<tr>
	<td><?=$m['number']?></td>
	<td><?=$m['name']?></td>
	<td><?=$m['specifications']?></td>
	<td><?=$m['weight']?></td>
	<td><?=$m['price']?></td>
	<td><?=$m['provider']?></td>
	<td><a href="<?=url('Storage::Product/MaterialCreate', array('id'=>$m['id']))?>">编辑</a></td>
</tr>
<?endforeach;?>
</table>
<?=$page?>
<?php $this->_endblock(); ?>